package com.xuelang;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Create by lys
 * Date 2024-4-10/0025 15:01
 * Description
 */
@RestController
@RequestMapping("/health")
@Slf4j
public class RDPController {
    @GetMapping("/readiness")
    public String readiness(){
        return "ok";
    }
    @GetMapping("/liveness")
    public String liveness(){
        return "ok";
    }

    @GetMapping("/startup")
    public String startup(){
        return "ok";
    }
}
